<!--
	此示例下载自 https://echarts.apache.org/examples/zh/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsDGwA2wBOAXANoDkAxAAxUkC6ANGrAB4CCTEAzgco-mAJ4gAptxIYAhmCEBzfPxIN06ACaTx3UgFkYC2CQAqAVyG6SAdSHLT-gBaHTAMTwRTAZUlvD0WoqUB6P1gOG2AAdwIAM3FsDiFfdGhxAFsREgBGACYAZgVeWESU_SEmMFcBbBFUJSUsXEIAIhAIaABrevjYAF8O8XYOABlmyrz0bCGy_gqCKuqanHwCEjxLEhGujvQOfiSAIxxptfRahfrl5Xq1zrzuvN7OfvEdoWwD2cx5hp3scQw26_jGDdRjIhNBlK91ox-GxONwZnxBCI9AA3aLGXLVO4DR7PCHVY6fbDGC7VIHVDggMZgQbQYZvYJhAhgPDGDawMa0iZTeGzAnEerSZag-r0Q6wATCAj1VTBSwk2ZXUmA3yxZxCLiwIh5HkqNQaNIAVgodFg2WNpoyABYTRk0gAOE1pLIGx2WgDsNoAbBRRW8JUiSByTGyg1y6W93nVFmdVm8yUotrscK4IAAvESZDaJvYveoYCB4DAVeXoRWwGgoToAbiAA
	⚠ 请注意，该图表不是 Apache ECharts 官方示例，而是由用户代码生成的。请注意鉴别其内容。
-->
<!DOCTYPE html>
<html lang="en" style="height: 100%">
<head>
  <meta charset="utf-8">
</head>
<body style="height: 100%; margin: 0">
  <div id="container" style="height: 100%"></div>

  
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.5.1/files/dist/echarts.min.js"></script>
  
  <!-- Uncomment this line if you want to dataTool extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.5.1/files/dist/extension/dataTool.min.js"></script>
  -->
  <!-- Uncomment this line if you want to use gl extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts-gl/2/files/dist/echarts-gl.min.js"></script>
  -->
  <!-- Uncomment this line if you want to echarts-stat extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts-stat/latest/files/dist/ecStat.min.js"></script>
  -->
  <!-- Uncomment this line if you want to echarts-graph-modularity extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts-graph-modularity/2/files/dist/echarts-graph-modularity.min.js"></script>
  -->
  <!-- Uncomment this line if you want to use map
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/4.9.0/files/map/js/world.js"></script>
  -->
  <!-- Uncomment these two lines if you want to use bmap extension
  <script type="text/javascript" src="https://api.map.baidu.com/api?v=3.0&ak=YOUR_API_KEY"></script>
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.5.1/files/dist/extension/bmap.min.js"></script>
  -->

  <script type="text/javascript">
    var dom = document.getElementById('container');
    var myChart = echarts.init(dom, null, {
      renderer: 'canvas',
      useDirtyRect: false
    });
    var app = {};
    
    var option;

    option = {
  color:['#000'],
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
    // show:false,
    name:'123',
    nameTextStyle:{
      color:"pink",
    },
    axisLine:{
      lineStyle:{
        color:'red'
      },
      symbol:{
        color:"red"
      }
    },
    axisLabel:{
      color:"black"
    },
   
  },
  legend:{
  },
  yAxis: {
    type: 'value',
    axisLabel:{
      color:"blue"
    },
     splitLine:{
      show:true,
      lineStyle:{
        color:["green"],
        type:"dashed"
      }
    }
  },
  series: [
    {
      data: [150, 230, 224, 218, 135, 147, 260],
      type: 'line',
      lineStyle:{
        color:'red'
      },
     symbolSize:12,
     symbol:"circle"
    }
  ]
};

    if (option && typeof option === 'object') {
      myChart.setOption(option);
    }

    window.addEventListener('resize', myChart.resize);
  </script>
</body>
</html>